package com.mgs.product.tagger.dao
{
	import com.mgs.product.tagger.model.Document;
	
	import flash.filesystem.File;

	public interface DocumentDao
	{
		function createDocument(repository:File, document:Document):void;
		function openDocument(repository:File, document:Document):void;
		function readDocumentContent(document:Document):String;
		function writeDocumentContent(document:Document, content:String):void;
		function deleteDocument(repository:File, document:Document):void;
	}
}